
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.NoticeInfo;

public interface NoticeInfoDao extends Dao {

    /**
     * Retrieves all of the noticeInfos
     */
    public List getNoticeInfos(NoticeInfo noticeInfo);

    /**
     * Gets noticeInfo's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the noticeInfo's id
     * @return noticeInfo populated noticeInfo object
     */
    public NoticeInfo getNoticeInfo(final Integer id);

    /**
     * Saves a noticeInfo's information
     * @param noticeInfo the object to be saved
     */    
    public void saveNoticeInfo(NoticeInfo noticeInfo);

    /**
     * Removes a noticeInfo from the database by id
     * @param id the noticeInfo's id
     */
    public void removeNoticeInfo(final Integer id);
}

